package br.inf.solutions.apresentacoes.ssp.model.enums;

public enum NumberShirt {

	N1("1"),
	N2("2"),
	N3("3"),
	N4("4"),
	N5("5"),
	N6("6");
	
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	private NumberShirt(String name){
		this.name = name;
	}
	
	public static NumberShirt getNumberShirtById(Integer id) {  
        return NumberShirt.values()[id];  
      } 
	
	@Override
	public String toString() {
		return this.name;
	}
	
}
